<?php !defined( 'SUNCMS' ) && exit( 'No direct script access allowed'  );

/**
 * 
 * Sun CMS
 * 
 * @author			Burning
 * @copyright		Copyright (c) 2009, IsunCms.Com.
 * @license			http://www.isuncms.com/license.htm
 * @link				http://www.isuncms.com/
 * @since				Version 1.0 Beta
 * 
 */

/** 数据库相关配置 *  */
define( 'DB_HOST', 'localhost' );
define( 'DB_USER', 'root' );
define( 'DB_PWD', '' );
define( 'DB_NAME', 'isun' );
define( 'DB_PRE', 'sun_' );
define( 'DB_CHARSET', 'utf8' );

/** session_cookie相关配置* */
define( 'COOKIE_PRE', 'sun_' );
define( 'COOKIE_DOMAIN', '' );
define( 'COOKIE_PATH', '/' );

/** ftp相关设置 **/
define( 'FTP_ENABLE', 1 );
define( 'FTP_HOST', '127.0.0.1' );
define( 'FTP_USER', 'newuser' );
define( 'FTP_PWD', 'wampp' );
define( 'FTP_PORT', 21 );
define( 'FTP_PATH', 'suncms/' );

//定义cms相对路径
define( 'REL_PATH', 'sun/' );

//定义站点路径
define( 'CMS_PATH', 'suncms/sun/' );

//定义cache文件夹路径
define( 'SUN_CACHE', SUNCMS . 'datas/cache/' );

//定义字体文件路径
define( 'SUN_FONT', SUNCMS. 'include/fonts/' );

//定义字典数据库路径
define( 'SUN_DICT', SUNCMS. 'include/dicts/' );

//定义密匙
define( 'ENCRYPT_KEY', 'Burning-suncms-01' );

//定义CMS版本
define( 'VERSION', '1.0' );

//定义时区
define( 'TIMEZONE', 'Etc/GMT-8' );

//定义字符集
define( 'CHARSET', 'utf-8' );

//是否开启GZIP
define( 'GZIP', 1 );

//防止非法信息
define( 'FILTER_ENABLE', 1 );

/** 模版相关配置**/
define( 'TEMPLATE_RECOMPLIE', 1 );

/**默认模板**/
define( 'DEFAULT_TEMP', 'default' );

/**是否保存错误日志**/
define( 'ERRORLOG', 0 );